﻿using System.Collections.Generic;
using Authority.Model;
using Tool.Model;

namespace Authority.Logic
{
    /// <summary>
    /// 岗位功能管理逻辑接口
    /// </summary>
    public interface ISysPostService
    {
        /// <summary>
        /// 分页获取所有的可操作信息
        /// </summary>
        /// <param name="parametersInfo"></param>
        /// <returns></returns>
        ResultJsonInfo<List<SysPostEntity>> LoadSysPostList(ParametersInfo<string> inputInfo);


        /// <summary>
        /// 根据Code获取操作信息
        /// </summary>
        /// <param name="parameters"></param>
        /// <returns></returns>
        ResultJsonInfo<int> Save(PostOperateRequest inputInfo);

        /// <summary>
        /// 删除信息
        /// </summary>
        /// <param name="parameters"></param>
        /// <returns></returns>
        ResultJsonInfo<int> Remove(List<string> gCodeList);
    }
}
